Skip to main content

DeleteRouteEntry

Description

call the DeleteRouteEntry interface to delete custom routing entries.

Request Method

POST

Request Path

/apsara/route/Vpc/DeleteRouteEntry

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
NextHopList.N.NextHopIdBODYstringNori-2zeo3xzyf38r43cd****the ID of the next hop instance of the ECMP route.
RouteEntryIdBODYstringNorte-bp1mnnr2al0naomn****route entry ID to delete.
RouteTableIdBODYstringYesvtb-hp37isva36oj7839j****ID of the routing table to which the routing entry belongs.
regionIdBODYstringYesNo sample value for this parameter.region id
NextHopIdBODYstringNongw-bp1vpo4l2vd7zef8o****ID of the next hop instance.
DestinationCidrBlockBODYstringYes10.0.0.0/16The destination network segment of the route entry supports IPv4 and IPv6 network segments.
RegionIdBODYstringYescn-qingdao-env17-d01The region ID of the routing table to which the route entry to be deleted belongs. You can obtain the region ID by calling the DescribeRegions interface.
NextHopList.N.NextHopTypeBODYstringNoRouterInterfacethe type of next hop of ECMP route, currently, only RouterInterface(router interface).
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}